package top.aicats.blog.BlogManage.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.aicats.blog.BlogManage.mapper.MainSubBlogTypeMapper;
import top.aicats.blog.BlogManage.model.BlogMainSubType;

import java.util.List;

/**
 * @author sjc
 * @version 1.0
 * @date 2020/1/10 21:44
 * @email 952491025@qq.com
 */
@Service
public class MainSubTypesImpl implements IMainSubTypeService {

    @Autowired
    MainSubBlogTypeMapper mainSubBlogTypeMapper;

    @Override
    public List<BlogMainSubType> getAllMainSubTypes() {
        return mainSubBlogTypeMapper.getAllMainBlogType();
    }
}
